#ifndef SAMPLEREQUEST_H
#define SAMPLEREQUEST_H
#include "Ray.cu"
#include "global_object.h"

class SampleRequest : public DeviceObject
{
public:

	float tMin;
	float tMax;
	float weight;
	Ray ray;
	int2 pixel;
	int2 sample;

	inline __host__ __device__  SampleRequest(){
		this->size = sizeof(SampleRequest);
	}
	inline __host__ __device__  SampleRequest(float tMin, float tMax, float weight, Ray ray, int2 pixel, int2 sample){
		this->tMin = tMin;
		this->tMax = tMax;
		this->ray = ray;
		this->pixel = pixel;
		this->sample = sample;
		this->size = sizeof(SampleRequest);
	}
	inline __host__ __device__  ~SampleRequest(){}

};

#endif